#include"Queue.h"
void test()
{
	Queue s1;
	QueueInit(&s1);
	QueuePush(&s1, 1);
	QueuePush(&s1, 2);
	QueuePush(&s1, 3);
	QueuePush(&s1, 4);
	QueuePush(&s1, 5);
	printf("%d\n", QueueSize(&s1));
	while (QEmpty(&s1))
	{
		printf("%d ", QueueFront(&s1));
		QueuePop(&s1);
	}
	printf("\n");
	printf("%d", QueueSize(&s1));
	QueueDestory(&s1);

}
int main()
{
	test();

	return 0;
}

